Update behavior.php

Fixed broken keepalive when SEF URLS on.