Work with MySQL Sockets

This passes anything that is not a valid port (0<int<65535) as a unix socket.
I tested this with unix sockets; this needs to be tested with a non-standard mysql port as well but I don't foresee any issues.

To use a unix socket, even one different than PHP's mysql.default_socket..
* Database Host = localhost:/path/to/socket
ahh you're right, so I guess my naming convention isn't correct.

I'm a bit confuse, how do I know what type of extension to pass to connectParams if I get rid of the port value. I can rename the variables to make things more clear but I don't see a way to do this without having 2 variables.