fixes to outside thor/spdy