Added HMTLProtocol library, continued polling code