docs: function ProxyHost ( options ) {
  	// prepare
  	var name;
  
  	// connection with server
  	this.active = false;
  
  	/**
  	 * proxy instance configuration
  	 * @namespace
  	 */
  	this.config = {
  		/** proxy server address */
  		host : '127.0.0.1',
  
  		/** proxy server websocket port */
  		port : 8900,
  
  		/** session name */
  		name : 'anonymous',
  
  		/** automatically try to restore connection on disconnect */
  		reconnect : true,
  
  		/** time between connection attempts (5s) */
  		reconnectInterval : 5000
  	};
  
  	/**
  	 * @type {WebSocket}
  	 */
  	this.socket = null;
  
  	// validate and iterate input
  	if ( options && typeof options === 'object' ) {
  		for ( name in options ) {
  			// rewrite defaults
  			if ( options.hasOwnProperty(name) ) { this.config[name] = options[name]; }
  		}
  	}
  
  	// try to establish connection
  	this.connect();
  }