started server protocol functions

this is a start. we can add more as we need to.

Also need to change the FD number mentioned at the top of
server_protocol.c to work with connect.c
server_protocol.h

created a header file for server_protocol.c