Types and helper functions for dealing with HTTP protocol in Julia