{"action":"opened","issue":{"url":"https://api.github.com/repos/therebelrobot/soxx/issues/6","labels_url":"https://api.github.com/repos/therebelrobot/soxx/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/therebelrobot/soxx/issues/6/comments","events_url":"https://api.github.com/repos/therebelrobot/soxx/issues/6/events","html_url":"https://github.com/therebelrobot/soxx/issues/6","id":125473157,"number":6,"title":"Split out instantiation and connection","user":{"login":"therebelrobot","id":679178,"avatar_url":"https://avatars.githubusercontent.com/u/679178?v=3","gravatar_id":"","url":"https://api.github.com/users/therebelrobot","html_url":"https://github.com/therebelrobot","followers_url":"https://api.github.com/users/therebelrobot/followers","following_url":"https://api.github.com/users/therebelrobot/following{/other_user}","gists_url":"https://api.github.com/users/therebelrobot/gists{/gist_id}","starred_url":"https://api.github.com/users/therebelrobot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/therebelrobot/subscriptions","organizations_url":"https://api.github.com/users/therebelrobot/orgs","repos_url":"https://api.github.com/users/therebelrobot/repos","events_url":"https://api.github.com/users/therebelrobot/events{/privacy}","received_events_url":"https://api.github.com/users/therebelrobot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/therebelrobot/soxx/milestones/1","html_url":"https://github.com/therebelrobot/soxx/milestones/v2","labels_url":"https://api.github.com/repos/therebelrobot/soxx/milestones/1/labels","id":1490242,"number":1,"title":"v2","description":"Freshen up a bit, make sure the data model is a little more sane, make sure it's a solid microlib","creator":{"login":"therebelrobot","id":679178,"avatar_url":"https://avatars.githubusercontent.com/u/679178?v=3","gravatar_id":"","url":"https://api.github.com/users/therebelrobot","html_url":"https://github.com/therebelrobot","followers_url":"https://api.github.com/users/therebelrobot/followers","following_url":"https://api.github.com/users/therebelrobot/following{/other_user}","gists_url":"https://api.github.com/users/therebelrobot/gists{/gist_id}","starred_url":"https://api.github.com/users/therebelrobot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/therebelrobot/subscriptions","organizations_url":"https://api.github.com/users/therebelrobot/orgs","repos_url":"https://api.github.com/users/therebelrobot/repos","events_url":"https://api.github.com/users/therebelrobot/events{/privacy}","received_events_url":"https://api.github.com/users/therebelrobot/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2016-01-07T19:54:16Z","updated_at":"2016-01-07T19:58:25Z","due_on":"2016-02-03T08:00:00Z","closed_at":null},"comments":0,"created_at":"2016-01-07T19:58:25Z","updated_at":"2016-01-07T19:58:25Z","closed_at":null,"body":"That way any prep settings can be set up prior to initial connection. So instead of \r\n\r\n```js\r\nvar ws = Soxx.connect(opts)\r\n```\r\n\r\nit would be \r\n\r\n```js\r\nvar ws = new Soxx(opts)\r\nws.doSomethingElseBeforeConnection(opts)\r\nws.connect()\r\n```"}}