Added server functionality
Extracted  'handle_server_request' function
Added connutils module