Move require('ws') back to where it was.

Add comment explaining why it's there.
Undo change to the way ripple-lib unsubscribed from ws events.