Added lacking imports
fixed bug add heart by time
fix load data by https protocol
Merge pull request #32 from AceMNT/connect_to_server

Connect to server