socket proxy to upload binary file

redirect from ajax post