Fix for connecting to mysql via socket

Also see forum: http://processwire.com/talk/topic/5687-config-dbsocket-is-not-handled-in-wiredatabasepdophp/