Enable get_friends to work again. Resolve #175.

This reverts commit b4e77fa39fe77d8bba0c2d91c93d0da7fc1b11e7 as well as makes
`get_friends` use the SSL endpoint again.