Consider moving unix socket specific code into that class. Right now the unix socket calls handle_connect and checks to see if the host ends with '.sock?' but it shouldn't have to do that because presumably we wouldn't have created a UNIX socket if it didn't right?