Fixing sockets and response.