           src = Http.createClient url.port || 80, url.hostname
 
           src.on 'error', (error) ->
-            console.log("Client Request error #{error.stack}")
-            resp.writeHead 404, { }
-            resp.write "Not Found"
-            resp.end()
+            four_oh_hour("Client Request error #{error.stack}")
 
           query_path = url.pathname
           if url.query?

              switch srcResp.statusCode
                when 200
                  if srcResp.statusCode == 200 && newHeaders['content-type'].slice(0, 5) != 'image'
                    console.log("Non-Image content-type returned")
                    resp.writeHead 404, { }
                    resp.write "Not Found"
                    resp.end()

                  console.log("--------------------------------------------")
                  console.log(newHeaders)
                  console.log("--------------------------------------------")

                  resp.writeHead srcResp.statusCode, newHeaders
                  srcResp.on 'data', (chunk) ->

                  resp.writeHead srcResp.statusCode, newHeaders

                else
                  four_oh_hour("Responded with #{srcResp.statusCode}")

          srcReq.on 'error', ->
            resp.end()
