Clarified magic number.
Redirect `write.jsp` to `rewrite.jsp` if already connected.

Resolves issue #63.