Better debug messages.  More complete WebSocket implementation.