Http version and methods not being set properly