0 will be used as a response form the server when the version is correct
added debuging information and stopped sendall and recvall from spinning
endlessly, will have to be improved, also success should be indicated by
0 and failure by -1
-1 should mean failure and 0 success
implemented conn_send and made both send and recv use propper return
values, -1 for failure and 0 for success
implemented conn_client and conn_server to exchange version numbers and
verify they match
made netdev_listen use a provided port number for listening
main takes one argument as a port for server to listen on, and if it
does it doesn't start any clients, mostly for testing purposes
make functions return 0 for success and -1 for failure, makes more sense
fix return values to 0 as sucess and -1 as failure
formatting and made remote file descriptor be considered when using
select
added debug.h for easier debug message printing
added netprotocol for netdev_header struct used for sending data