Fixes issues with skynet connection and callback.

Fixes issue with callback being called more than once when receiving multiple 'ready' events.
Passes an extra parameter to skynet connection to make sure each device has its own instance of a socket.