title: How to build a python server to communicate with a raspberry pi?
body: <p>I'm an newbie to build a secure connection between python server and raspberry pi.
  I have a python server, and a raspberry pi at home.
  Currently, pi is using socket to listen a specific port when the python server is trying connect to pi. 
  It's a low level networking interface. It's a simple but not secure method.
  Could anyone tell or point out a way to build a secure communication between python server and raspberry pi. It should be able to do following basic requirements. 
  1. Password check
  2. When python server want some information from Pi, it connect to pi. After python server gets what it wanted, it disconnect to pi.</p>
  
  <p>Thanks!! </p>