Q: is it possible to get http headers for on websocket upgrade?
WebSocket support is kind of hacked-on to Pedestal; there's an issue that discusses this (https://github.com/pedestal/pedestal/issues/858). I hope to address this in 0.8, as it certainly falls under "routing improvements", the "theme" of 0.8.