Made thin use a socket.
Reverted to port..
Added missing keys to config.