Committed a few changes from althor880's fork

-Made Browser use user-agent Mozilla/4.0 for connection (PAX started blocking Java user-agent connections).
-Made error message displayed when unable to connect more useful for debug purposes

Thanks for the catch AND fix, althor880!