创建srv_conf，传递上下文
Merge pull request #23 from wenchaomeng/master

mock the cf.ctx