fix compiler warnings for clang/c++11

+ cast numbers to correct type
+ prefix ntohll/htonll to websocketpp_ntohll due to builtin function