Socket Server Testing and implementation.