Add readonly mode

Only GET method is allowed in readonly mode. Default is still Read/Write.