Added basic socket connectivity to ruby server.