improve - http cookie and parameter implementation
improve - add comment for a synchronized block