socket & httplib example
print more info when it receives data