add support for fetching source using http protocol
reset confdir to original value
Merge pull request #25 from jianingy/http-module

add a http module that can fetch source code from web