multi purpose socket server with process forking for new connections