7.8.3 fixes

These along with cobit/krpc#2 let bittorrent compile with GHC 7.8.3