Allow providing custom http configuration arguments. Include helper for building ssl context.