Initial commit.
Initial import.
Use external paths for imports.

This commit modifies the import paths to externally accessible paths.
Fixes #1.
Make IPv4 and IPv6 listen on different sockets.

This commit implements support for listening on multiple sockets and
changes the default listen code to use one socket per address family (IPv4
and IPv6).

In addition, it changes the default listen binding for the RPC server to
localhost so only local clients can connect to it.

There need to be several options added to allow customization of these
settings and those will be in future commits.

Fixes #3.
Disable RPC server if no user/pass is provided.

This commit disables the RPC server by default if no RPC username of
password is specified (either via the command line or through the config
file).

Closes #2.
Improve sample-btcd.conf.

This commit improves the sample-btcd.conf file by including some
explanatory text and adding a few more available options.
Reorder some of the config options.
Add option to disable listen for incoming conns.

This commit provide support for a new nolisten option which disables
listening for incoming connections.  It also disable listening when the
--connect option is used.
Move btcd to root directory.

This allows easier go get paths.
Convert .gitignore line endings to unix.
Add version information and -V/--version flags.
Remove some unused code.
Modify code to use proxy aware NetAddresses.

This paves the way for support with proxied connections.
initial proxy code
Move sample proxy config near top of net settings.
Remove duplicate proxy setting from config.
Include proxy address in connection messages.
Insert genesis block if needed on db load.

Previously, the genesis block was only inserted when the database was
created, but it's possible due to rollback that the database is created
and the genesis block insert gets rolled back if the app is existed too
quickly.  This commit modifies the logic to test the need for the genesis
block any time the database is loaded and insert it if necessary.
Make user agent use the app version constants.
Move userAgent to peer where it's used.