title: Send a string containing http to socket
body: <p>I have a strange behavior in the following code:</p>
  
  <pre><code>host = '127.0.0.1'  # listen to localhost
  port = 8000
  sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
  sock.bind((host, port))
  sock.listen(5)
  
  while True:
      csock, caddr = sock.accept()
      if image:
          csock.send('www.google.com')
  </code></pre>
  
  <p>If I send get request in the browser, I will have 'www.google.com' displayed in the page. However, if I replace the text '<a href="http://www.google.com" rel="nofollow">http://www.google.com</a>', the page will not display anything at all. </p>
  
  <p>How can I send '<a href="http://www.google.com" rel="nofollow">http://www.google.com</a>' and have it displayed as a string in the page?</p>