Crate now compiles with latest version of rust

Fixed errors related to openssl-rust

Forgot to remove old import

Fixed things caused by enum changes

Compiles with latest rust version

Fixed a formatting error

Removed unnecessary code
Merge branch 'master' of github.com:waylon531/rust-xmpp