Make flags and mech configurable in http transport
Merge pull request #4 from liggitt/configurable_flags_mech

Make flags and mech configurable in http transport