upgrade tunnel-proxy to 0.4.0

Please upgrade tunnel-proxy to 0.4.0 so that we can avoid the issue reported by #779