Remove the port if one was set. Hack. #8
Remove the host at the beginning instead of in the request. fix #8