Start of Protocol reconstruction

The protocol class has gone through some restructures after todays
meeting.
Client and server are now able to connect and initialize with each
other. Other commands to follow, after they're implemented.