public Request(Socket socket) {
            if(socket == null){
                return;
            }
		try {
			InputStreamReader isr = new InputStreamReader(
					socket.getInputStream());
			BufferedReader brInput = new BufferedReader(isr);
			String line = brInput.readLine();
			while (line != null && !line.equals("")) {
				parseLine(line); 
				line = brInput.readLine();
			}
			// Parse Content
			StringBuilder requestContent = new StringBuilder();
			for (int i = 0; i < contentLength; i++) {
				requestContent.append((char) brInput.read());
			}
			parseRequestParameterFromString(requestContent.toString());

			// line=brInput.readLine();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

	}