Remove the http connection when marshalling aws connection so that messages can be marshalled