#! /bin/bash

(echo "CONNECT $1:$2 HTTP/1.0"; 
 echo; 
 cat ) | nc $GIT_PROXY_HOST $GIT_PROXY_PORT | 
  
(read a; 
 read a; 
 read a; 
 cat )