Add certificate support

Based off code from
http://www.techpowerup.com/forums/threads/need-help-with-mumble-ruby.190
627/