Imported and adapted Photon.SocketServer