Updated broker

Added the session-middleware module to differentiate cookies across
brokers/agents on different ports.