Set default port value to null

In PHP 5.5.9 passing the port as string raises a type mismatch error.