title: Python socket sending problem
body: <p>I'm currently working on a simple Python script that connects to an IP/Port and lets you preform commands. Kinda like telnet. I want it to connect to lets say MySQL(Just an example) and execute MySQL commands like you would with Telnet or NetCat.
  But lets say I connect to a service, I can't execute commands. I'm trying to connect to a custom port on localhost. Let me show the code:
  <pre><code>
  try:
      sock.connect((host, port))
      recvdata = sock.recv(socksize)
      print("Type your commands now")
      while(1): #Setting a loop
          print(recvdata)
          userInput = raw_input(">")
          sock.send(userInput + '\r\n\r\n')
          print(recvdata)
  except KeyboardInterrupt:
      print("\nConnection closed")
      sys.exit()
  </pre></code>
  So this is what I get when I connect:
  <pre><code>
  :: !Test service! ::
  </pre></code>
  If I type anything, I just get the banner again. The same banner over and over no matter what.</p>