pulling changes from https://github.com/Code-Sharp/uHttpSharp