added mock server functionality

Signed-off-by: Harry Truong <harry.truong@redcross.org>