add functions and tests for OPTIONS and HEAD methods of http
Merge pull request #2 from tenntenn/options_head_method

add functions and tests for OPTIONS and HEAD methods of http