Fix the type for method

A more precise type is documented the referenced documentation
Fix method formatting for faulty HTTP methods

Inets will decode any faulty method as a string, instead of as an atom. That
means that a simple curl -XFOO http://<host>:<port>/ will make the previous
version crash with {badarg, [{erlang,atom_to_list,["FOO"],[]}, ...