Janus fixes

This adds a couple features and fixes some things to make it closer to node-spdy and regular HTTP.