created default constructor for SocketHandler