updated router for looser matching; added websocket request logging