Add ws_socket_new()'s implementation
Add visibility to struct members
Add documentation to the struct types