expose this.socket