Extensions are now passed to websocket.accept() properly, fixed origin/location checking