Pass the socket configuration to MySQL connection

Fixes #55