Since you let the socket Genie out of the bottle:  Where can I find
the ruby source for TCPServer and Socket? I can't find either anywhere
and I built from source.

Also, why must one call `gets' on one's TCPserver object before
calling print?  This makes no sense to me.

Let me show an example of what I'm refering to.

server = TCPServer.new("0.0.0.0","8888")
session = server.accept
 while(out = session.gets) ## <--if I don't call `gets' on session
  puts out                 ## I can't call `session.print' below 
 end


##
##if you call `gets' above then the following lines will execute
##if you don't call gets above, then `session.print' fails --why?
##
session.print "HTTP:/1.1 200 OK/OK\r\nContent-type: text/html\r\n\r\n"
session.print "<html><body><h1>#{Time.now}</h1></body></html>\r\n"