Add customUploadHandler option

This allows to handle uploads in other way, like with socket.io