added API method to access pusher.connection.socket_id via a Promise