Added mg_forward()
Clearing off HTTP headers in close_local_endpoint()