Fixed a few minor memory leaks in HTTP proxy.