lb: refactor ntohl in lb_conf handler