Added New implementation for Sockets based on BSD

Reimplemented Client with own version of Sockets.
ServerSocket written but not tested.