server socket struct

- to handle the socket lock