fixed timeout and proxy for em-http. closes #88.