Properly set the request method in HTTPS connections

This pull request allows to properly set the request method in HTTPS connections.

See:
https://java.net/jira/browse/JERSEY-639
https://github.com/jersey/jersey/pull/45