Database configuration URL parser for node.js