fix #15 EOFError w/ Net::HTTP in 1.8.7

Switched up the syntax of this Net::HTTP request because 1.8.7 doesn't
support passing use_ssl as an argument in this manner, resulting in
EOFError when Net::HTTP makes request to https endpoints.

Should be forward compatabile with 1.9 as well