Fixed a couple more bugs. As far as I can tell the main problem right now is that we only recieve the header from the browser.