use net/url pacakge
fix add fragment
Merge pull request #258 from xiangli-cmu/0.2

use net/url pacakge