conform with rfc3986

ref #114