acu91204 - Fix socket write in HTTPGenericRequest to ensure that passing...

... string
@ryanwilliamson @tony-spataro-rs @raphael 
This fixes a problem encountered when using RestClient in right_net during right_net reenroll integration test.