constants for request challenges and responses
style fixes, default parameter