starting to seperate HTTP stuff from controlling the tunnel