Stable version; 1.0

Has User-Agent specification and error messages.
#TODO: optimize code