prototype of ServerSocket working