Replace php call with filter wrapper.
Add .db extension for compat with ruby dbm module.
Add ability to redirect to SSL