Fixed readHttpHeader and worked on making the proxy more robust.