I wanna create an serversocket http program.

I allready made:
Java Code:
ServerSocket server = new ServerSocket(80);
Socket client = server.accept();
BufferedReader input = new BufferedReader(new InputStreamReader(client.getInputStream()));
DataOutputStream output = new DataOutputStream(client.getOutputStream());

while(true) {
 String line = input.readLine();
 if(line==null || line.length()==0)
  break;
 else
  System.out.println(line);
}
output.writeBytes("HTTP/1.0200 OKContent-Type: text/html\r\n\r\n<html><head><title>HTTPTest</title></head><body><form method=\"post\"><input type=\"text\" name=\"name\" value=\"Dennis\"><input type=\"submit\" value=\"go\" name=\"button\"></form></body></html>";
output.close();
It show on the "localhost" the textfield and the button.
When onclick the button, and post I only receive from the BufferedReader:
Java Code:
POST / HTTP/1.1
Host: localhost
Connection: keep-alive
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: nl-NL,nl;q=0.8,en-US;q=0.6,en;q=0.4
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
It says it is an POST request, but I don't see the "button=go&name=Dennis" POST variables.

Can someone help me?

Thanks,
Dennis