     STATIC_URL + fpath
 
 requestHandler = (req, res, next) ->
+    unless req.path? and req.host?
+        next()
+        return
     match = false
     for pattern in ALLOWED_URLS
         if req.path.match pattern

            unitInfo = JSON.parse respData
            clearTimeout timeout
            sendResponse()

server.configure ->
    staticDir = __dirname + '/../static'


    timeout = setTimeout sendResponse, 2000

    request = http.get url, (httpResp) ->
        if httpResp.statusCode != 200
            clearTimeout timeout
            sendResponse()
