Added write methods taking an Appendable as parameter to BaseURL.
fixes
fixed typos