Client and server can now run

Clients and server can now run, but server crashes when it receives a
connection. To be fixed in next version.