Fix http option parsing