Fixed off-by-one in php_url_parse_ex

Change order of condition, previously pointer could be derefrenced before
bound check was done.
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fixed off-by-one in php_url_parse_ex

Conflicts:
	ext/standard/url.c
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixed off-by-one in php_url_parse_ex
Fix phpdbg build on FreeBSD

Added missing netinet/in.h header.
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed off-by-one in php_url_parse_ex
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix phpdbg build on FreeBSD
  Fixed off-by-one in php_url_parse_ex