use base64 codec jquery plugin instead of atob/btoa
add example for send and receive by msgpack
add support for PUT method