proto upload functionality

ref
https://groups.google.com/forum/?fromgroups=#!topic/golang-nuts/H_DZ3mmt
Y4U
make a xmlhttprequest to upload file