added ok response to socket