fix http header serialization
simpler imports
fix array order in http test.