fixed bug, when having a port number in host
adding support for sockets
Merge pull request #684 from oxford-themes/db-export-host_port-fix

Fix for: "wp db export" fails when port given: define('DB_HOST', '127.0.0.1:55006') in wp-config.php