Fix setting of matched path parts when "*" is used in the URLRouter.
Better handle errors while reading from a WebSocket connection and avoid infinite hangs while waiting for a message.

When a connection was terminated and WebSocket.read was still in progress, it would just infinitely hang before. It will now throw an exception. Supposedly fixes issue #390.