           srcReq.end()
 
         else
-          four_oh_hour("No host found")
+          four_oh_four("No host found")
       else
-        four_oh_hour("checksum mismatch")
+        four_oh_four("checksum mismatch")
     else
-      four_oh_hour("No pathname provided on the server")
+      four_oh_four("No pathname provided on the server")
 
 console.log "SSL-Proxy running on #{port} with pid:#{process.pid}."
 console.log "Using the secret key #{shared_key}"

            content_length  = srcResp.headers['content-length']

            if(content_length > 5242880)
              four_oh_hour("Content-Length exceeded")
            else
              newHeaders =
                'expires'                : srcResp.headers['expires']

          src = Http.createClient url.port || 80, url.hostname

          src.on 'error', (error) ->
            four_oh_four("Client Request error #{error.stack}")

          query_path = url.pathname
          if url.query?
