public HTTPRequest(Vector<String> headerData, String postData, String clientIP)
	{
		this.clientIP = clientIP;
		Iterator<String> it = headerData.iterator();
		
		String[] spaceSplit = it.next().split(" ");
		type = spaceSplit[0];
		path = spaceSplit[1];
		while ( it.hasNext() )
		{
			String thisHeader[] = it.next().split(": ");
			headers.put(thisHeader[0], thisHeader[1]);
		}
		
		host = headers.get("Host").split(":")[0];
		
		if ( type.equals("GET") )
		{
			String[] querysplit = path.split("\\?");
			path = querysplit[0];
			if ( querysplit.length == 2 )
			{
				String[] args = querysplit[1].split("&");
				for ( int i = 0; i < args.length; i++ )
				{
					String[] thisValue = args[i].split("=");
					if ( thisValue.length == 2 )
						this.queryData.put(thisValue[0], thisValue[1]);
				}
			}
		}
		else if ( type.equals("POST") )
		{
			String[] separatePostData = postData.split("&");
			for ( int i = 0; i < separatePostData.length; i++ )
			{
				String[] thisValue = separatePostData[i].split("=");
				if ( thisValue.length == 2 )
					this.queryData.put(thisValue[0], thisValue[1]);
			}
		}
	}