add timeout for httpc
Merge pull request #1 from georgeye/master

add 30sec timeout for httpc call.